package d1208.Ljs2.Ljs21;

public class Dog extends Animal {
    String age;


    public Dog(String age) {
        this.age = age;
    }

    public Dog(String id, String name, String age) {
        super(id, name);
        this.age = age;
    }

    public Dog() {
    }

    public Dog(String id, String name) {
        super(id, name);
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }
}
